<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ page isELIgnored="false" %>

<html id="reg">
<head>
    <meta charset="utf-8"/>
    <title>用户名注册</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css">
</head>
<body >
<form action="${pageContext.request.contextPath}/register" method="post">

    <div id="header" align="center">
		<span id="1" style="font-size: 30px">
			用户名注册
		</span>
        <br />
    </div>


    <div>
        用户名<input type="text" name="a_name" placeholder="请输入用户名">
    </div>

    <div>
        密  码 <input type="password" name="a_psd" placeholder="请输入密码">
    </div>
    <span style="color: red; font-weight: bold">${registerError}</span>
    <span style="color: #055bef; font-weight: bold">${adminSuccess}</span>
    <div>
        <input type="submit" value="注册" id="btn">
    </div>

    <div>
        <input type="reset" value="重置">
    </div>
    <br>

    <br>
    <div id="login">
        <a href="singIn.jsp" id="log_href" style=" text-decoration: none  " >已有账号登录!</a>
    </div>


</form>
</body>
</html>